#include <iostream>
using namespace std;

int main(){
    int arr[5] = {300,350,200,400,250};
    int maxWeight = arr[0];
    int maxIndex = 0;
    for (int i = 1; i < sizeof(arr) / sizeof(arr[0]); i++)
    {
        /* code */
        if(arr[i] > maxWeight){
            maxWeight = arr[i];
            maxIndex = i;
        }
    }
    cout << "最重的小猪是第:" <<  maxIndex+1 << endl;
    
    return 0;
}